/*
 Navicat Premium Data Transfer

 Source Server         : local.docker
 Source Server Type    : MySQL
 Source Server Version : 80042 (8.0.42)
 Source Host           : localhost:3306
 Source Schema         : seaflow

 Target Server Type    : MySQL
 Target Server Version : 80042 (8.0.42)
 File Encoding         : 65001

 Date: 06/06/2025 16:31:26
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for flow_category
-- ----------------------------
DROP TABLE IF EXISTS `flow_category`;
CREATE TABLE `flow_category` (
  `id` bigint NOT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `sort_num` int DEFAULT NULL,
  `del_flag` char(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `icon` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='流程分类';

-- ----------------------------
-- Records of flow_category
-- ----------------------------
BEGIN;
INSERT INTO `flow_category` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `code`, `name`, `sort_num`, `del_flag`, `icon`) VALUES (1810191677402050562, 1, 1, 1, '2024-07-08 13:58:22', '2024-10-20 14:31:48', 'finance', '财务', 2, '0', 'Connection');
INSERT INTO `flow_category` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `code`, `name`, `sort_num`, `del_flag`, `icon`) VALUES (1811200484240461826, 1, 1, NULL, '2024-07-11 08:47:01', NULL, 'administration', '行政', 1, '0', '');
COMMIT;

-- ----------------------------
-- Table structure for flow_def_ext
-- ----------------------------
DROP TABLE IF EXISTS `flow_def_ext`;
CREATE TABLE `flow_def_ext` (
  `id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `flow_json` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `form_json` text COLLATE utf8mb3_bin COMMENT '表单json配置',
  `tenant_id` bigint DEFAULT NULL,
  `manager_id` bigint DEFAULT NULL COMMENT '流程管理员id',
  `design_id` bigint DEFAULT NULL COMMENT '流程设计id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of flow_def_ext
-- ----------------------------
BEGIN;
INSERT INTO `flow_def_ext` (`id`, `create_user`, `update_user`, `create_time`, `update_time`, `flow_json`, `form_json`, `tenant_id`, `manager_id`, `design_id`) VALUES (1852714563165454338, 1, NULL, '2024-11-02 22:09:08', NULL, '{\"nodeId\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\",\"nodeType\":\"start\",\"nodeName\":\"开始节点\",\"value\":\"所有人\",\"properties\":{},\"childNode\":{\"nodeId\":\"f1c63412-5710-446d-a5ac-f441f37a22c2\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"seven\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1814307624207470594\",\"name\":\"seven\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"seven\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"},\"childNode\":{\"nodeId\":\"3483a491-0765-4b54-8c35-dbacb29e5bbf\",\"nodeType\":\"serial\",\"nodeName\":\"分支选择\",\"conditionNodes\":[{\"nodeId\":\"b1d40308-9bab-4aaa-a1b0-7a362e24844f\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"条件\",\"sortNum\":0,\"value\":\"days 大于等于 3\",\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"days\",\"cond\":\"ge\",\"value\":\"3\",\"next\":\"and\"}]},\"value\":\"days 大于等于 3\"},\"levelValue\":\"优先级1\",\"childNode\":{\"nodeId\":\"f36a09c6-08ab-4027-85f9-db1f8a55f57c\",\"nodeType\":\"parallel\",\"nodeName\":\"并行分支\",\"properties\":{},\"conditionNodes\":[{\"nodeId\":\"a4095f0e-1950-4d4c-b886-4a3035b645c2\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1\",\"name\":\"超管\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"超管\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"},\"value\":\"超管\"},{\"nodeId\":\"091944fb-4f6f-4eeb-82d9-1ea3da22bd52\",\"nodeName\":\"审批人2\",\"nodeType\":\"between\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"2\",\"name\":\"测试\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"测试\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"},\"value\":\"测试\"}]}},{\"nodeId\":\"1f678933-91b3-43c2-814c-26722a25d8f4\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"条件\",\"value\":\"其他条件默认走此流程\",\"sortNum\":1,\"default\":true,\"properties\":{},\"levelValue\":\"优先级2\",\"enableDestory\":true,\"childNode\":{\"nodeId\":\"32610c7f-21f1-43c5-821b-f65e3fcb917b\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"测试\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"2\",\"name\":\"测试\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"测试\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"}}}],\"childNode\":{\"nodeId\":\"fa13aeeb-f794-43c8-a2aa-27da340b9696\",\"nodeType\":\"end\",\"nodeName\":\"结束\",\"properties\":{}}}}}', NULL, 1, 1, 1852714097983586305);
INSERT INTO `flow_def_ext` (`id`, `create_user`, `update_user`, `create_time`, `update_time`, `flow_json`, `form_json`, `tenant_id`, `manager_id`, `design_id`) VALUES (1930880104805076994, 1, NULL, '2025-06-06 14:51:06', NULL, '{\"nodeId\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\",\"nodeType\":\"start\",\"nodeName\":\"开始节点\",\"value\":\"所有人\",\"properties\":{\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}],\"fieldSetting\":[],\"formColumns\":[],\"value\":\"所有人\"},\"childNode\":{\"nodeId\":\"f1c63412-5710-446d-a5ac-f441f37a22c2\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"seven\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1814307624207470594\",\"name\":\"seven\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"seven\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\",\"formColumns\":[],\"fieldSetting\":[]},\"childNode\":{\"nodeId\":\"3483a491-0765-4b54-8c35-dbacb29e5bbf\",\"nodeType\":\"serial\",\"nodeName\":\"分支选择\",\"conditionNodes\":[{\"nodeId\":\"b1d40308-9bab-4aaa-a1b0-7a362e24844f\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"条件\",\"sortNum\":0,\"value\":\"days 大于等于 3\",\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"days\",\"cond\":\"ge\",\"value\":\"3\",\"next\":\"and\"}]},\"value\":\"days 大于等于 3\",\"formColumns\":[],\"fieldSetting\":[]},\"levelValue\":\"优先级1\",\"childNode\":{\"nodeId\":\"f36a09c6-08ab-4027-85f9-db1f8a55f57c\",\"nodeType\":\"parallel\",\"nodeName\":\"并行分支\",\"properties\":{},\"conditionNodes\":[{\"nodeId\":\"a4095f0e-1950-4d4c-b886-4a3035b645c2\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1\",\"name\":\"超管\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"超管\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"},\"value\":\"超管\"},{\"nodeId\":\"091944fb-4f6f-4eeb-82d9-1ea3da22bd52\",\"nodeName\":\"审批人2\",\"nodeType\":\"between\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"2\",\"name\":\"测试\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"测试\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"},\"value\":\"测试\"}]}},{\"nodeId\":\"1f678933-91b3-43c2-814c-26722a25d8f4\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"条件\",\"value\":\"其他条件默认走此流程\",\"sortNum\":1,\"default\":true,\"properties\":{\"formColumns\":[],\"fieldSetting\":[]},\"levelValue\":\"优先级2\",\"enableDestory\":true,\"childNode\":{\"nodeId\":\"32610c7f-21f1-43c5-821b-f65e3fcb917b\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"测试\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"2\",\"name\":\"测试\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"测试\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"}}}],\"childNode\":{\"nodeId\":\"fa13aeeb-f794-43c8-a2aa-27da340b9696\",\"nodeType\":\"end\",\"nodeName\":\"结束\",\"properties\":{}}}}}', '{\"schemas\":[{\"label\":\"表单\",\"type\":\"form\",\"componentProps\":{\"layout\":\"horizontal\",\"name\":\"default\",\"labelWidth\":100,\"labelLayout\":\"fixed\",\"labelCol\":{\"span\":5},\"wrapperCol\":{\"span\":19},\"colon\":true,\"labelAlign\":\"right\",\"labelPlacement\":\"left\"},\"children\":[],\"id\":\"root\"}],\"script\":\"const { defineExpose, find } = epic;\\n\\nfunction test (){\\n    console.log(\'test\')\\n}\\n\\n// 通过defineExpose暴露的函数或者属性\\ndefineExpose({\\n test\\n})\"}', 1, 1, 1852714097983586305);
INSERT INTO `flow_def_ext` (`id`, `create_user`, `update_user`, `create_time`, `update_time`, `flow_json`, `form_json`, `tenant_id`, `manager_id`, `design_id`) VALUES (1930888935232671746, 1, NULL, '2025-06-06 15:26:11', NULL, '{\"nodeId\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\",\"nodeType\":\"start\",\"nodeName\":\"开始节点\",\"value\":\"所有人\",\"properties\":{\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"1\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"1\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"value\":\"所有人\"},\"childNode\":{\"nodeId\":\"1aedd671-2883-474f-89c5-f317006bd8ff\",\"nodeType\":\"serial\",\"nodeName\":\"分支选择\",\"conditionNodes\":[{\"nodeId\":\"2beb9b5f-f8a1-4007-9b4e-f6ed24bbb60d\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"大金额报销\",\"sortNum\":0,\"value\":\"amt 大于等于 1000\",\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"amt\",\"cond\":\"ge\",\"value\":\"1000\",\"next\":\"and\"}]},\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"value\":\"amt 大于等于 1000\"},\"levelValue\":\"优先级1\",\"childNode\":{\"nodeId\":\"bb42cf6b-5a79-4a1d-8f3d-d43c110a14de\",\"nodeName\":\"总经理审批\",\"nodeType\":\"between\",\"value\":\"seven\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1814307624207470594\",\"name\":\"seven\"}],\"dept\":[]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"seven\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"}}},{\"nodeId\":\"80fa66cf-643b-41bb-8bf2-ed2fdbc4e71d\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"小金额报销\",\"value\":\"其他条件默认走此流程\",\"sortNum\":1,\"default\":true,\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"amt\",\"cond\":\"lt\",\"value\":\"1000\",\"next\":\"and\"}]},\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"value\":\"amt 小于 1000\"},\"levelValue\":\"优先级2\",\"enableDestory\":true,\"childNode\":{\"nodeId\":\"e31503cc-7993-457a-929f-eab30f97baff\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"销售-张三\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1930878114087735297\",\"name\":\"销售-张三\"}],\"dept\":[]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"销售-张三\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"}}}],\"childNode\":{\"nodeId\":\"f569c2aa-4de3-4f8c-801f-9b02e30f1918\",\"nodeType\":\"between\",\"nodeName\":\"审批人\",\"value\":\"‌财务部\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"dept\"],\"combination\":{\"role\":[],\"user\":[],\"dept\":[{\"id\":\"1847460795972804610\",\"name\":\"‌财务部\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"‌财务部\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"},\"childNode\":{\"nodeId\":\"44abbb18-d32b-4f14-ba6e-c000f0809b8b\",\"nodeType\":\"end\",\"nodeName\":\"结束\",\"properties\":{}}}}}', '{\"schemas\":[{\"label\":\"表单\",\"type\":\"form\",\"componentProps\":{\"layout\":\"horizontal\",\"name\":\"default\",\"labelWidth\":100,\"labelLayout\":\"fixed\",\"labelCol\":{\"span\":5},\"wrapperCol\":{\"span\":19},\"colon\":true,\"labelAlign\":\"right\",\"labelPlacement\":\"left\"},\"children\":[{\"label\":\"费用\",\"type\":\"number\",\"field\":\"amt\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\"},\"id\":\"number_4lbz05i6\"},{\"label\":\"说明\",\"type\":\"textarea\",\"field\":\"desc\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\",\"type\":\"textarea\"},\"id\":\"textarea_x535rr3h\"}],\"id\":\"root\"}],\"script\":\"const { defineExpose, find } = epic;\\n\\nfunction test (){\\n    console.log(\'test\')\\n}\\n\\n// 通过defineExpose暴露的函数或者属性\\ndefineExpose({\\n test\\n})\"}', 1, 1, 1930885105573072898);
INSERT INTO `flow_def_ext` (`id`, `create_user`, `update_user`, `create_time`, `update_time`, `flow_json`, `form_json`, `tenant_id`, `manager_id`, `design_id`) VALUES (1930889966314229761, 1, NULL, '2025-06-06 15:30:17', NULL, '{\"nodeId\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\",\"nodeType\":\"start\",\"nodeName\":\"开始节点\",\"value\":\"所有人\",\"properties\":{\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"1\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"1\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"value\":\"所有人\"},\"childNode\":{\"nodeId\":\"1aedd671-2883-474f-89c5-f317006bd8ff\",\"nodeType\":\"serial\",\"nodeName\":\"分支选择\",\"conditionNodes\":[{\"nodeId\":\"2beb9b5f-f8a1-4007-9b4e-f6ed24bbb60d\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"大金额报销\",\"sortNum\":0,\"value\":\"amt 大于等于 1000\",\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"amt\",\"cond\":\"ge\",\"value\":\"1000\",\"next\":\"and\"}]},\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"value\":\"amt 大于等于 1000\"},\"levelValue\":\"优先级1\",\"childNode\":{\"nodeId\":\"bb42cf6b-5a79-4a1d-8f3d-d43c110a14de\",\"nodeName\":\"总经理审批\",\"nodeType\":\"between\",\"value\":\"seven\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1814307624207470594\",\"name\":\"seven\"}],\"dept\":[]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"seven\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"}}},{\"nodeId\":\"80fa66cf-643b-41bb-8bf2-ed2fdbc4e71d\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"小金额报销\",\"value\":\"其他条件默认走此流程\",\"sortNum\":1,\"default\":true,\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"amt\",\"cond\":\"lt\",\"value\":\"1000\",\"next\":\"and\"}]},\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"value\":\"amt 小于 1000\"},\"levelValue\":\"优先级2\",\"enableDestory\":true,\"childNode\":{\"nodeId\":\"e31503cc-7993-457a-929f-eab30f97baff\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"销售-张三\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1930878114087735297\",\"name\":\"销售-张三\"}],\"dept\":[]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"销售-张三\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"}}}],\"childNode\":{\"nodeId\":\"f569c2aa-4de3-4f8c-801f-9b02e30f1918\",\"nodeType\":\"between\",\"nodeName\":\"审批人\",\"value\":\"‌财务部\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"dept\"],\"combination\":{\"role\":[],\"user\":[],\"dept\":[{\"id\":\"1847460795972804610\",\"name\":\"‌财务部\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"‌财务部\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"},\"childNode\":{\"nodeId\":\"44abbb18-d32b-4f14-ba6e-c000f0809b8b\",\"nodeType\":\"end\",\"nodeName\":\"结束\",\"properties\":{}}}}}', '{\"schemas\":[{\"label\":\"表单\",\"type\":\"form\",\"componentProps\":{\"layout\":\"horizontal\",\"name\":\"default\",\"labelWidth\":100,\"labelLayout\":\"fixed\",\"labelCol\":{\"span\":5},\"wrapperCol\":{\"span\":19},\"colon\":true,\"labelAlign\":\"right\",\"labelPlacement\":\"left\"},\"children\":[{\"label\":\"报销事项\",\"type\":\"input\",\"field\":\"title\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\",\"type\":\"text\"},\"id\":\"input_nxo7b4r5\"},{\"label\":\"报销金额\",\"type\":\"input\",\"field\":\"amt\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\",\"type\":\"number\"},\"id\":\"input_au8tpuy6\"},{\"label\":\"报销说明\",\"type\":\"textarea\",\"field\":\"desc\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\",\"type\":\"textarea\"},\"id\":\"textarea_x535rr3h\"}],\"id\":\"root\"}],\"script\":\"const { defineExpose, find } = epic;\\n\\nfunction test (){\\n    console.log(\'test\')\\n}\\n\\n// 通过defineExpose暴露的函数或者属性\\ndefineExpose({\\n test\\n})\"}', 1, 1, 1930885105573072898);
COMMIT;

-- ----------------------------
-- Table structure for flow_definition
-- ----------------------------
DROP TABLE IF EXISTS `flow_definition`;
CREATE TABLE `flow_definition` (
  `id` bigint unsigned NOT NULL COMMENT '主键id',
  `flow_code` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '流程编码',
  `flow_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '流程名称',
  `category` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '流程类别',
  `version` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '流程版本',
  `is_publish` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否发布（0未发布 1已发布 9失效）',
  `form_custom` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT 'N' COMMENT '审批表单是否自定义（Y是 N否）',
  `form_path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '审批表单路径',
  `activity_status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '流程激活状态（0挂起 1激活）',
  `listener_type` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '监听器类型',
  `listener_path` varchar(400) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '监听器路径',
  `ext` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '扩展字段，预留给业务系统使用',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '0' COMMENT '删除标志',
  `tenant_id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='流程定义表';

-- ----------------------------
-- Records of flow_definition
-- ----------------------------
BEGIN;
INSERT INTO `flow_definition` (`id`, `flow_code`, `flow_name`, `category`, `version`, `is_publish`, `form_custom`, `form_path`, `activity_status`, `listener_type`, `listener_path`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563165454338, 'leave', '请假流程', NULL, '1', 0, 'Y', 'leave.vue', 1, NULL, NULL, NULL, '2024-11-02 22:09:08', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_definition` (`id`, `flow_code`, `flow_name`, `category`, `version`, `is_publish`, `form_custom`, `form_path`, `activity_status`, `listener_type`, `listener_path`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880104805076994, 'leave', '请假流程', NULL, '2', 1, 'Y', 'leave.vue', 1, NULL, NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_definition` (`id`, `flow_code`, `flow_name`, `category`, `version`, `is_publish`, `form_custom`, `form_path`, `activity_status`, `listener_type`, `listener_path`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935232671746, 'fybx', '费用报销', NULL, '1', 0, 'N', '', 1, NULL, NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_definition` (`id`, `flow_code`, `flow_name`, `category`, `version`, `is_publish`, `form_custom`, `form_path`, `activity_status`, `listener_type`, `listener_path`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966314229761, 'fybx', '费用报销', NULL, '2', 1, 'N', '', 1, NULL, NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
COMMIT;

-- ----------------------------
-- Table structure for flow_design
-- ----------------------------
DROP TABLE IF EXISTS `flow_design`;
CREATE TABLE `flow_design` (
  `id` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `del_flag` int DEFAULT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `flow_code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `flow_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `flow_version` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '版本号',
  `icon` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `flow_json` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `form_json` text COLLATE utf8mb3_bin COMMENT '表单json数据',
  `def_id` bigint DEFAULT NULL COMMENT '当前使用的流程定义',
  `category_id` bigint DEFAULT NULL COMMENT '业务分类',
  `status` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `sort_num` int DEFAULT NULL COMMENT '排序',
  `form_custom` char(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT 'Y：自定义表单，N 非自定义表单',
  `form_path` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '表单路径',
  `manager_id` bigint NOT NULL COMMENT '流程管理员'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of flow_design
-- ----------------------------
BEGIN;
INSERT INTO `flow_design` (`id`, `create_time`, `update_time`, `create_user`, `update_user`, `del_flag`, `tenant_id`, `flow_code`, `flow_name`, `flow_version`, `icon`, `flow_json`, `form_json`, `def_id`, `category_id`, `status`, `sort_num`, `form_custom`, `form_path`, `manager_id`) VALUES (1852714097983586305, '2024-11-02 22:07:17', '2025-06-06 14:51:00', 1, 1, NULL, 1, 'leave', '请假流程', '2', 'User', '{\"nodeId\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\",\"nodeType\":\"start\",\"nodeName\":\"开始节点\",\"value\":\"所有人\",\"properties\":{\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}],\"fieldSetting\":[],\"formColumns\":[],\"value\":\"所有人\"},\"childNode\":{\"nodeId\":\"f1c63412-5710-446d-a5ac-f441f37a22c2\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"seven\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1814307624207470594\",\"name\":\"seven\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"seven\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\",\"formColumns\":[],\"fieldSetting\":[]},\"childNode\":{\"nodeId\":\"3483a491-0765-4b54-8c35-dbacb29e5bbf\",\"nodeType\":\"serial\",\"nodeName\":\"分支选择\",\"conditionNodes\":[{\"nodeId\":\"b1d40308-9bab-4aaa-a1b0-7a362e24844f\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"条件\",\"sortNum\":0,\"value\":\"days 大于等于 3\",\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"days\",\"cond\":\"ge\",\"value\":\"3\",\"next\":\"and\"}]},\"value\":\"days 大于等于 3\",\"formColumns\":[],\"fieldSetting\":[]},\"levelValue\":\"优先级1\",\"childNode\":{\"nodeId\":\"f36a09c6-08ab-4027-85f9-db1f8a55f57c\",\"nodeType\":\"parallel\",\"nodeName\":\"并行分支\",\"properties\":{},\"conditionNodes\":[{\"nodeId\":\"a4095f0e-1950-4d4c-b886-4a3035b645c2\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1\",\"name\":\"超管\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"超管\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"},\"value\":\"超管\"},{\"nodeId\":\"091944fb-4f6f-4eeb-82d9-1ea3da22bd52\",\"nodeName\":\"审批人2\",\"nodeType\":\"between\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"2\",\"name\":\"测试\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"测试\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"},\"value\":\"测试\"}]}},{\"nodeId\":\"1f678933-91b3-43c2-814c-26722a25d8f4\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"条件\",\"value\":\"其他条件默认走此流程\",\"sortNum\":1,\"default\":true,\"properties\":{\"formColumns\":[],\"fieldSetting\":[]},\"levelValue\":\"优先级2\",\"enableDestory\":true,\"childNode\":{\"nodeId\":\"32610c7f-21f1-43c5-821b-f65e3fcb917b\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"测试\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"2\",\"name\":\"测试\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"测试\",\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"backTypeNode\":\"801e3c73-e665-4f6f-8ea7-d4de0927214c\"}}}],\"childNode\":{\"nodeId\":\"fa13aeeb-f794-43c8-a2aa-27da340b9696\",\"nodeType\":\"end\",\"nodeName\":\"结束\",\"properties\":{}}}}}', '{\"schemas\":[{\"label\":\"表单\",\"type\":\"form\",\"componentProps\":{\"layout\":\"horizontal\",\"name\":\"default\",\"labelWidth\":100,\"labelLayout\":\"fixed\",\"labelCol\":{\"span\":5},\"wrapperCol\":{\"span\":19},\"colon\":true,\"labelAlign\":\"right\",\"labelPlacement\":\"left\"},\"children\":[],\"id\":\"root\"}],\"script\":\"const { defineExpose, find } = epic;\\n\\nfunction test (){\\n    console.log(\'test\')\\n}\\n\\n// 通过defineExpose暴露的函数或者属性\\ndefineExpose({\\n test\\n})\"}', 1930880104805076994, 1811200484240461826, '1', NULL, 'Y', 'leave.vue', 1);
INSERT INTO `flow_design` (`id`, `create_time`, `update_time`, `create_user`, `update_user`, `del_flag`, `tenant_id`, `flow_code`, `flow_name`, `flow_version`, `icon`, `flow_json`, `form_json`, `def_id`, `category_id`, `status`, `sort_num`, `form_custom`, `form_path`, `manager_id`) VALUES (1930885105573072898, '2025-06-06 15:10:58', '2025-06-06 15:31:16', 1, 1, NULL, 1, 'fybx', '费用报销', '2', 'Money', '{\"nodeId\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\",\"nodeType\":\"start\",\"nodeName\":\"开始节点\",\"value\":\"所有人\",\"properties\":{\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"1\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"1\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"value\":\"所有人\"},\"childNode\":{\"nodeId\":\"1aedd671-2883-474f-89c5-f317006bd8ff\",\"nodeType\":\"serial\",\"nodeName\":\"分支选择\",\"conditionNodes\":[{\"nodeId\":\"2beb9b5f-f8a1-4007-9b4e-f6ed24bbb60d\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"大金额报销\",\"sortNum\":0,\"value\":\"amt 大于等于 1000\",\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"amt\",\"cond\":\"ge\",\"value\":\"1000\",\"next\":\"and\"}]},\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"value\":\"amt 大于等于 1000\"},\"levelValue\":\"优先级1\",\"childNode\":{\"nodeId\":\"bb42cf6b-5a79-4a1d-8f3d-d43c110a14de\",\"nodeName\":\"总经理审批\",\"nodeType\":\"between\",\"value\":\"seven\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1814307624207470594\",\"name\":\"seven\"}],\"dept\":[]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"seven\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"}}},{\"nodeId\":\"80fa66cf-643b-41bb-8bf2-ed2fdbc4e71d\",\"nodeType\":\"serial-node\",\"type\":\"serial-node\",\"nodeName\":\"小金额报销\",\"value\":\"其他条件默认走此流程\",\"sortNum\":1,\"default\":true,\"properties\":{\"conditions\":{\"simple\":true,\"group\":\"and\",\"simpleData\":[{\"key\":\"amt\",\"cond\":\"lt\",\"value\":\"1000\",\"next\":\"and\"}]},\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"value\":\"amt 小于 1000\"},\"levelValue\":\"优先级2\",\"enableDestory\":true,\"childNode\":{\"nodeId\":\"e31503cc-7993-457a-929f-eab30f97baff\",\"nodeName\":\"审批人1\",\"nodeType\":\"between\",\"value\":\"销售-张三\",\"type\":\"between\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"user\"],\"combination\":{\"role\":[],\"user\":[{\"id\":\"1930878114087735297\",\"name\":\"销售-张三\"}],\"dept\":[]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"销售-张三\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"}}}],\"childNode\":{\"nodeId\":\"f569c2aa-4de3-4f8c-801f-9b02e30f1918\",\"nodeType\":\"between\",\"nodeName\":\"审批人\",\"value\":\"‌财务部\",\"properties\":{\"nodeRatioType\":\"1\",\"backType\":\"1\",\"nodeRatio\":0,\"permissions\":[\"dept\"],\"combination\":{\"role\":[],\"user\":[],\"dept\":[{\"id\":\"1847460795972804610\",\"name\":\"‌财务部\"}]},\"emptyApprove\":{\"type\":\"AUTO\",\"value\":[]},\"value\":\"‌财务部\",\"formPath\":\"\",\"listeners\":[],\"buttons\":[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}],\"formColumns\":[{\"label\":\"费用\",\"field\":\"amt\"},{\"label\":\"说明\",\"field\":\"desc\"}],\"fieldSetting\":[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}],\"backTypeNode\":\"ce588ffe-5d9e-4fe0-84a5-eaff11154145\"},\"childNode\":{\"nodeId\":\"44abbb18-d32b-4f14-ba6e-c000f0809b8b\",\"nodeType\":\"end\",\"nodeName\":\"结束\",\"properties\":{}}}}}', '{\"schemas\":[{\"label\":\"表单\",\"type\":\"form\",\"componentProps\":{\"layout\":\"horizontal\",\"name\":\"default\",\"labelWidth\":100,\"labelLayout\":\"fixed\",\"labelCol\":{\"span\":5},\"wrapperCol\":{\"span\":19},\"colon\":true,\"labelAlign\":\"right\",\"labelPlacement\":\"left\"},\"children\":[{\"label\":\"报销事项\",\"type\":\"input\",\"field\":\"title\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\",\"type\":\"text\"},\"id\":\"input_nxo7b4r5\"},{\"label\":\"报销金额\",\"type\":\"input\",\"field\":\"amt\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\",\"type\":\"number\"},\"id\":\"input_au8tpuy6\"},{\"label\":\"报销说明\",\"type\":\"textarea\",\"field\":\"desc\",\"input\":true,\"componentProps\":{\"placeholder\":\"请输入\",\"type\":\"textarea\"},\"id\":\"textarea_x535rr3h\"}],\"id\":\"root\"}],\"script\":\"const { defineExpose, find } = epic;\\n\\nfunction test (){\\n    console.log(\'test\')\\n}\\n\\n// 通过defineExpose暴露的函数或者属性\\ndefineExpose({\\n test\\n})\"}', 1930889966314229761, 1810191677402050562, '1', NULL, 'N', '', 1);
COMMIT;

-- ----------------------------
-- Table structure for flow_his_task
-- ----------------------------
DROP TABLE IF EXISTS `flow_his_task`;
CREATE TABLE `flow_his_task` (
  `id` bigint unsigned NOT NULL COMMENT '主键id',
  `definition_id` bigint NOT NULL COMMENT '对应flow_definition表的id',
  `instance_id` bigint NOT NULL COMMENT '对应flow_instance表的id',
  `task_id` bigint NOT NULL COMMENT '对应flow_task表的id',
  `node_code` varchar(100) DEFAULT NULL COMMENT '开始节点编码',
  `node_name` varchar(100) DEFAULT NULL COMMENT '开始节点名称',
  `node_type` tinyint(1) DEFAULT NULL COMMENT '开始节点类型（0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关）',
  `target_node_code` varchar(100) DEFAULT NULL COMMENT '目标节点编码',
  `target_node_name` varchar(100) DEFAULT NULL COMMENT '结束节点名称',
  `approver` varchar(40) DEFAULT NULL COMMENT '审批者',
  `cooperate_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '协作方式(1审批 2转办 3委派 4会签 5票签 6加签 7减签)',
  `collaborator` varchar(40) DEFAULT NULL COMMENT '协作人',
  `skip_type` varchar(10) DEFAULT NULL COMMENT '流转类型（PASS通过 REJECT退回 NONE无动作）',
  `flow_status` varchar(20) DEFAULT NULL COMMENT '流程状态（0待提交 1审批中 2 审批通过 3自动通过 8已完成 9已退回 10失效）',
  `form_custom` char(1) DEFAULT 'N' COMMENT '审批表单是否自定义（Y是 N否）',
  `form_path` varchar(100) DEFAULT NULL COMMENT '审批表单路径',
  `message` varchar(500) DEFAULT NULL COMMENT '审批意见',
  `ext` varchar(400) DEFAULT NULL COMMENT '业务详情 存业务表对象json字符串',
  `create_time` datetime DEFAULT NULL COMMENT '开始时间',
  `update_time` datetime DEFAULT NULL COMMENT '完成时间',
  `del_flag` char(1) DEFAULT '0' COMMENT '删除标志',
  `tenant_id` varchar(40) DEFAULT NULL COMMENT '租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='历史任务记录表';

-- ----------------------------
-- Records of flow_his_task
-- ----------------------------
BEGIN;
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880375157329921, 1930880104805076994, 1930880375140552706, 1930880375153135618, '2ef8c5c1-2bdf-4a85-9f23-9a26e1f92d02', '开始节点', 0, '801e3c73-e665-4f6f-8ea7-d4de0927214c', '发起申请', '1', 1, NULL, 'PASS', '2', 'N', NULL, NULL, NULL, '2025-06-06 14:52:10', '2025-06-06 14:52:10', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880375467708419, 1930880104805076994, 1930880375140552706, 1930880375157329922, '801e3c73-e665-4f6f-8ea7-d4de0927214c', '发起申请', 1, 'f1c63412-5710-446d-a5ac-f441f37a22c2', '审批人1', '1', 1, NULL, 'PASS', '2', 'Y', 'leave.vue', NULL, NULL, '2025-06-06 14:52:10', '2025-06-06 14:52:10', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061156720641, 1930880104805076994, 1930880375140552706, 1930880375467708418, 'f1c63412-5710-446d-a5ac-f441f37a22c2', '审批人1', 1, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', '自动通过', '1814307624207470594', 1, NULL, 'PASS', '2', 'Y', 'leave.vue', '同意', '{\"formData\":{\"type\":\"1\",\"times\":[\"2025-06-05T16:00:00.000Z\",\"2025-06-12T16:00:00.000Z\"],\"days\":7,\"reason\":\"\",\"id\":\"adc1c572-b04f-4cdc-acc7-b619190fd58f\"}}', '2025-06-06 14:52:10', '2025-06-06 14:54:54', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061651648515, 1930880104805076994, 1930880375140552706, 1930881061152526337, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', '自动通过', 1, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', '审批人1', '-1', 1, NULL, 'PASS', '2', 'Y', 'leave.vue', 'PASS', NULL, '2025-06-06 14:54:54', '2025-06-06 14:54:54', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061651648516, 1930880104805076994, 1930880375140552706, 1930881061152526337, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', '自动通过', 1, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', '审批人2', '-1', 1, NULL, 'PASS', '2', 'Y', 'leave.vue', 'PASS', NULL, '2025-06-06 14:54:54', '2025-06-06 14:54:54', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930882094771638273, 1930880104805076994, 1930880375140552706, 1930881061651648513, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', '审批人1', 1, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', '结束', '1', 1, NULL, 'PASS', '2', 'Y', 'leave.vue', '同意', '{\"formData\":{\"type\":\"1\",\"times\":[\"2025-06-05T16:00:00.000Z\",\"2025-06-12T16:00:00.000Z\"],\"days\":7,\"reason\":\"\",\"id\":\"adc1c572-b04f-4cdc-acc7-b619190fd58f\"}}', '2025-06-06 14:54:54', '2025-06-06 14:59:00', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930884421649862659, 1930880104805076994, 1930880375140552706, 1930881061651648514, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', '审批人2', 1, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', '结束', '2', 1, NULL, 'PASS', '2', 'Y', 'leave.vue', '', '{\"formData\":{\"type\":\"1\",\"times\":[\"2025-06-05T16:00:00.000Z\",\"2025-06-12T16:00:00.000Z\"],\"days\":7,\"reason\":\"\",\"id\":\"adc1c572-b04f-4cdc-acc7-b619190fd58f\"}}', '2025-06-06 14:54:54', '2025-06-06 15:08:15', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930890365477752836, 1930889966314229761, 1930890365477752834, 1930890365477752835, '994d37e1-194f-4f11-ac87-7cbd605a4760', '开始节点', 0, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', '发起申请', '1', 1, NULL, 'PASS', '2', 'N', NULL, NULL, NULL, '2025-06-06 15:31:52', '2025-06-06 15:31:52', '0', '1');
INSERT INTO `flow_his_task` (`id`, `definition_id`, `instance_id`, `task_id`, `node_code`, `node_name`, `node_type`, `target_node_code`, `target_node_name`, `approver`, `cooperate_type`, `collaborator`, `skip_type`, `flow_status`, `form_custom`, `form_path`, `message`, `ext`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930890365821685763, 1930889966314229761, 1930890365477752834, 1930890365477752837, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', '发起申请', 1, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', '总经理审批', '1', 1, NULL, 'PASS', '2', 'N', '', NULL, NULL, '2025-06-06 15:31:52', '2025-06-06 15:31:52', '0', '1');
COMMIT;

-- ----------------------------
-- Table structure for flow_instance
-- ----------------------------
DROP TABLE IF EXISTS `flow_instance`;
CREATE TABLE `flow_instance` (
  `id` bigint NOT NULL COMMENT '主键id',
  `definition_id` bigint NOT NULL COMMENT '对应flow_definition表的id',
  `business_id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '业务id',
  `node_type` tinyint(1) NOT NULL COMMENT '结点类型（0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关）',
  `node_code` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '流程节点编码',
  `node_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '流程节点名称',
  `variable` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin COMMENT '任务变量',
  `flow_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '流程状态（0待提交 1审批中 2 审批通过 3自动通过 8已完成 9已退回 10失效）',
  `activity_status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '流程激活状态（0挂起 1激活）',
  `create_by` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '0' COMMENT '删除标志',
  `ext` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '扩展字段',
  `tenant_id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='流程实例表';

-- ----------------------------
-- Records of flow_instance
-- ----------------------------
BEGIN;
INSERT INTO `flow_instance` (`id`, `definition_id`, `business_id`, `node_type`, `node_code`, `node_name`, `variable`, `flow_status`, `activity_status`, `create_by`, `create_time`, `update_time`, `del_flag`, `ext`, `tenant_id`) VALUES (1930880375140552706, 1930880104805076994, '1', 2, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', '结束', '{\"@type\":\"java.util.LinkedHashMap\",\"defId\":\"1930880104805076994\",\"formData\":{\"@type\":\"java.util.LinkedHashMap\",\"type\":\"1\",\"times\":[\"2025-06-05T16:00:00.000Z\",\"2025-06-12T16:00:00.000Z\"],\"days\":7,\"reason\":\"\",\"id\":\"adc1c572-b04f-4cdc-acc7-b619190fd58f\"},\"_of_serial_node_before_completed\":true}', '8', 1, '1', '2025-06-06 14:52:10', '2025-06-06 15:08:15', '0', NULL, '1');
INSERT INTO `flow_instance` (`id`, `definition_id`, `business_id`, `node_type`, `node_code`, `node_name`, `variable`, `flow_status`, `activity_status`, `create_by`, `create_time`, `update_time`, `del_flag`, `ext`, `tenant_id`) VALUES (1930890365477752834, 1930889966314229761, '1', 1, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', '总经理审批', '{\"@type\":\"java.util.LinkedHashMap\",\"defId\":\"1930889966314229761\",\"formData\":{\"@type\":\"java.util.LinkedHashMap\",\"title\":\"\\u51FA\\u5DEE\\u62A5\\u9500\",\"amt\":\"10000\",\"desc\":\"\\u4F4F\\u5BBF\\u4E0E\\u5E94\\u916C\"},\"_of_serial_node_before_completed\":true}', '1', 1, '1', '2025-06-06 15:31:52', '2025-06-06 15:31:52', '0', NULL, '1');
COMMIT;

-- ----------------------------
-- Table structure for flow_node
-- ----------------------------
DROP TABLE IF EXISTS `flow_node`;
CREATE TABLE `flow_node` (
  `id` bigint unsigned NOT NULL COMMENT '主键id',
  `node_type` tinyint(1) NOT NULL COMMENT '节点类型（0开始节点 1中间节点 2结束结点 3互斥网关 4并行网关）',
  `definition_id` bigint NOT NULL COMMENT '流程定义id',
  `node_code` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '流程节点编码',
  `node_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '流程节点名称',
  `permission_flag` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '权限标识（权限类型:权限标识，可以多个，用逗号隔开)',
  `node_ratio` decimal(6,3) DEFAULT NULL COMMENT '流程签署比例值',
  `coordinate` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '坐标',
  `skip_any_node` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT 'N' COMMENT '是否可以退回任意节点（Y是 N否）',
  `listener_type` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '监听器类型',
  `listener_path` varchar(400) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '监听器路径',
  `handler_type` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '处理器类型',
  `handler_path` varchar(400) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '处理器路径',
  `form_custom` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT 'N' COMMENT '审批表单是否自定义（Y是 N否）',
  `form_path` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '审批表单路径',
  `version` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '版本',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '0' COMMENT '删除标志',
  `tenant_id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='流程结点表';

-- ----------------------------
-- Records of flow_node
-- ----------------------------
BEGIN;
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368897, 1, 1852714563165454338, 'f1c63412-5710-446d-a5ac-f441f37a22c2', '审批人1', 'user:1814307624207470594', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368898, 3, 1852714563165454338, '3483a491-0765-4b54-8c35-dbacb29e5bbf', '分支选择', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368899, 1, 1852714563165454338, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', '自动通过', NULL, 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368900, 4, 1852714563165454338, '743a2719-639c-4371-bb2e-4e6b22d194ad', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368901, 1, 1852714563165454338, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', '审批人1', 'user:1', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368902, 1, 1852714563165454338, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', '审批人2', 'user:2', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368903, 4, 1852714563165454338, '312c3bf3-cd05-4d89-8d8d-9babadbf4970', '并行分支', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368904, 1, 1852714563165454338, '32610c7f-21f1-43c5-821b-f65e3fcb917b', '审批人1', 'user:2', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368905, 2, 1852714563165454338, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', '结束', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368906, 0, 1852714563165454338, '801e3c73-e665-4f6f-8ea7-d4de0927214c', '开始节点', 'warmFlowInitiator', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375105, 1, 1930880104805076994, 'f1c63412-5710-446d-a5ac-f441f37a22c2', '审批人1', 'user:1814307624207470594', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375106, 3, 1930880104805076994, 'b05c19f1-7ff4-479f-8b8f-6d2476238376', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375107, 3, 1930880104805076994, '3483a491-0765-4b54-8c35-dbacb29e5bbf', '分支选择', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375108, 1, 1930880104805076994, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', '自动通过', NULL, 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375109, 4, 1930880104805076994, '2d0eb12a-f100-4d8a-aa2d-13266ba26f64', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375110, 1, 1930880104805076994, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', '审批人1', 'user:1', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375111, 3, 1930880104805076994, 'baabbef3-9b88-40e8-9c7c-9c330e381b41', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375112, 1, 1930880104805076994, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', '审批人2', 'user:2', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375113, 3, 1930880104805076994, 'fa42eb01-a24a-4f32-9ae2-39210fcdc7fd', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375114, 4, 1930880104805076994, 'fb5e44b8-c997-4172-9be3-a1c6dbe577a8', '并行分支', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375115, 1, 1930880104805076994, '32610c7f-21f1-43c5-821b-f65e3fcb917b', '审批人1', 'user:2', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375116, 3, 1930880104805076994, '5fbe1042-3874-4657-bbc1-d5bfebddde55', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375117, 2, 1930880104805076994, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', '结束', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375118, 0, 1930880104805076994, '2ef8c5c1-2bdf-4a85-9f23-9a26e1f92d02', '开始节点', 'warmFlowInitiator', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105027375119, 1, 1930880104805076994, '801e3c73-e665-4f6f-8ea7-d4de0927214c', '发起申请', 'warmFlowInitiator', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335042, 3, 1930888935232671746, '1aedd671-2883-474f-89c5-f317006bd8ff', '分支选择', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335043, 1, 1930888935232671746, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', '总经理审批', 'user:1814307624207470594', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335044, 3, 1930888935232671746, '5df4e857-ab7b-4f28-bf79-84a55b65cdc1', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335045, 1, 1930888935232671746, 'e31503cc-7993-457a-929f-eab30f97baff', '审批人1', 'user:1930878114087735297', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335046, 3, 1930888935232671746, '7caeb87d-c654-487a-ac31-95101ca4ad27', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335047, 1, 1930888935232671746, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', '审批人', 'dept:1847460795972804610', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335048, 3, 1930888935232671746, '45af0035-2d56-47ab-aaea-281160ec607d', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335049, 2, 1930888935232671746, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', '结束', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335050, 0, 1930888935232671746, '10bce3c4-63c5-4db0-8a6c-5fbb4ab3a2f1', '开始节点', 'warmFlowInitiator', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935333335051, 1, 1930888935232671746, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', '发起申请', 'warmFlowInitiator', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '1', '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338625, 3, 1930889966314229761, '1aedd671-2883-474f-89c5-f317006bd8ff', '分支选择', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338626, 1, 1930889966314229761, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', '总经理审批', 'user:1814307624207470594', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338627, 3, 1930889966314229761, '0cbd852c-e2ba-499c-a590-db410cf7f4c4', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338628, 1, 1930889966314229761, 'e31503cc-7993-457a-929f-eab30f97baff', '审批人1', 'user:1930878114087735297', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338629, 3, 1930889966314229761, '1bc1138b-2b24-41cb-8328-e392ecb147b4', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338630, 1, 1930889966314229761, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', '审批人', 'dept:1847460795972804610', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338631, 3, 1930889966314229761, '253fa80e-75a3-470b-bb47-d337af59f383', NULL, NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338632, 2, 1930889966314229761, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', '结束', NULL, 0.000, NULL, 'N', NULL, NULL, NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338633, 0, 1930889966314229761, '994d37e1-194f-4f11-ac87-7cbd605a4760', '开始节点', 'warmFlowInitiator', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_node` (`id`, `node_type`, `definition_id`, `node_code`, `node_name`, `permission_flag`, `node_ratio`, `coordinate`, `skip_any_node`, `listener_type`, `listener_path`, `handler_type`, `handler_path`, `form_custom`, `form_path`, `version`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966381338634, 1, 1930889966314229761, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', '发起申请', 'warmFlowInitiator', 0.000, NULL, 'N', 'assignment,create', 'com.sykj.seaflow.warm.core.listener.GlobalAssignmentListener@@com.sykj.seaflow.warm.core.listener.GlobalCreateListener', NULL, NULL, 'N', NULL, '2', '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
COMMIT;

-- ----------------------------
-- Table structure for flow_node_ext
-- ----------------------------
DROP TABLE IF EXISTS `flow_node_ext`;
CREATE TABLE `flow_node_ext` (
  `id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '节点id, 和流程的节点id一致',
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `empty_approve` text CHARACTER SET utf8mb3 COLLATE utf8mb3_bin,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `node_code` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '节点id',
  `node_type` tinyint DEFAULT NULL,
  `def_id` bigint DEFAULT NULL COMMENT '流程定义id',
  `del_flag` char(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `back_type` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `back_type_node` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `direction` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '并行网关，入出方向',
  `button_json` varchar(512) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `field_setting` text COLLATE utf8mb3_bin COMMENT '字段显示编辑控制'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='流程节点配置扩展';

-- ----------------------------
-- Records of flow_node_ext
-- ----------------------------
BEGIN;
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563807182850', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2024-11-02 22:09:08', NULL, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, 1852714563165454338, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097409', 1, 1, NULL, NULL, '2024-11-02 22:09:08', NULL, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, 1852714563165454338, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097410', 1, 1, NULL, '{\"type\":\"EMPTY\",\"value\":[]}', '2024-11-02 22:09:08', NULL, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', 1, 1852714563165454338, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097411', 1, 1, NULL, NULL, '2024-11-02 22:09:08', NULL, '743a2719-639c-4371-bb2e-4e6b22d194ad', 4, 1852714563165454338, '0', NULL, NULL, '1', NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097412', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2024-11-02 22:09:08', NULL, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, 1852714563165454338, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097413', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2024-11-02 22:09:08', NULL, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, 1852714563165454338, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097414', 1, 1, NULL, NULL, '2024-11-02 22:09:08', NULL, '312c3bf3-cd05-4d89-8d8d-9babadbf4970', 4, 1852714563165454338, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097415', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2024-11-02 22:09:08', NULL, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, 1852714563165454338, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563870097416', 1, 1, NULL, NULL, '2024-11-02 22:09:08', NULL, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, 1852714563165454338, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1852714563937206273', 1, 1, NULL, NULL, '2024-11-02 22:09:08', NULL, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 0, 1852714563165454338, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105815904257', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 14:51:06', NULL, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, 1930880104805076994, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', '[]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105828487169', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, 'b05c19f1-7ff4-479f-8b8f-6d2476238376', 3, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105841070081', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105841070082', 1, 1, NULL, '{\"type\":\"EMPTY\",\"value\":[]}', '2025-06-06 14:51:06', NULL, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', 1, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105853652993', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, '2d0eb12a-f100-4d8a-aa2d-13266ba26f64', 4, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105866235906', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 14:51:06', NULL, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, 1930880104805076994, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105878818818', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, 'baabbef3-9b88-40e8-9c7c-9c330e381b41', 3, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105887207426', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 14:51:06', NULL, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, 1930880104805076994, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105899790338', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, 'fa42eb01-a24a-4f32-9ae2-39210fcdc7fd', 3, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105908178945', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, 'fb5e44b8-c997-4172-9be3-a1c6dbe577a8', 4, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105908178946', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 14:51:06', NULL, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, 1930880104805076994, '0', '1', '801e3c73-e665-4f6f-8ea7-d4de0927214c', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105920761857', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, '5fbe1042-3874-4657-bbc1-d5bfebddde55', 3, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105929150466', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, 1930880104805076994, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105933344770', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, '2ef8c5c1-2bdf-4a85-9f23-9a26e1f92d02', 0, 1930880104805076994, '0', NULL, NULL, NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}]', '[]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930880105941733377', 1, 1, NULL, NULL, '2025-06-06 14:51:06', NULL, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, 1930880104805076994, '0', NULL, NULL, NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}]', '[]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935752765442', 1, 1, NULL, NULL, '2025-06-06 15:26:11', NULL, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, 1930888935232671746, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935761154049', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 15:26:11', NULL, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, 1930888935232671746, '0', '1', 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935765348353', 1, 1, NULL, NULL, '2025-06-06 15:26:11', NULL, '5df4e857-ab7b-4f28-bf79-84a55b65cdc1', 3, 1930888935232671746, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935769542658', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 15:26:11', NULL, 'e31503cc-7993-457a-929f-eab30f97baff', 1, 1930888935232671746, '0', '1', 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935773736962', 1, 1, NULL, NULL, '2025-06-06 15:26:11', NULL, '7caeb87d-c654-487a-ac31-95101ca4ad27', 3, 1930888935232671746, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935773736963', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 15:26:11', NULL, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, 1930888935232671746, '0', '1', 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935782125570', 1, 1, NULL, NULL, '2025-06-06 15:26:11', NULL, '45af0035-2d56-47ab-aaea-281160ec607d', 3, 1930888935232671746, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935790514178', 1, 1, NULL, NULL, '2025-06-06 15:26:11', NULL, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, 1930888935232671746, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935790514179', 1, 1, NULL, NULL, '2025-06-06 15:26:11', NULL, '10bce3c4-63c5-4db0-8a6c-5fbb4ab3a2f1', 0, 1930888935232671746, '0', NULL, NULL, NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"1\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"1\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930888935798902785', 1, 1, NULL, NULL, '2025-06-06 15:26:11', NULL, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, 1930888935232671746, '0', NULL, NULL, NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"1\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"1\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889966981124098', 1, 1, NULL, NULL, '2025-06-06 15:30:17', NULL, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, 1930889966314229761, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889966997901313', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 15:30:17', NULL, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, 1930889966314229761, '0', '1', 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967014678530', 1, 1, NULL, NULL, '2025-06-06 15:30:17', NULL, '0cbd852c-e2ba-499c-a590-db410cf7f4c4', 3, 1930889966314229761, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967023067138', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 15:30:17', NULL, 'e31503cc-7993-457a-929f-eab30f97baff', 1, 1930889966314229761, '0', '1', 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967035650050', 1, 1, NULL, NULL, '2025-06-06 15:30:17', NULL, '1bc1138b-2b24-41cb-8328-e392ecb147b4', 3, 1930889966314229761, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967048232962', 1, 1, NULL, '{\"type\":\"AUTO\",\"value\":[]}', '2025-06-06 15:30:17', NULL, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, 1930889966314229761, '0', '1', 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"拒绝\"},{\"type\":\"back\",\"checked\":false,\"text\":\"回退\"},{\"type\":\"transfer\",\"checked\":false,\"text\":\"转办\"},{\"type\":\"depute\",\"checked\":false,\"text\":\"委派\"},{\"type\":\"signAdd\",\"checked\":false,\"text\":\"加签\"},{\"type\":\"signRedu\",\"checked\":false,\"text\":\"减签\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"2\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"2\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967065010177', 1, 1, NULL, NULL, '2025-06-06 15:30:17', NULL, '253fa80e-75a3-470b-bb47-d337af59f383', 3, 1930889966314229761, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967081787393', 1, 1, NULL, NULL, '2025-06-06 15:30:17', NULL, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, 1930889966314229761, '0', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967081787394', 1, 1, NULL, NULL, '2025-06-06 15:30:17', NULL, '994d37e1-194f-4f11-ac87-7cbd605a4760', 0, 1930889966314229761, '0', NULL, NULL, NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"1\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"1\"}]');
INSERT INTO `flow_node_ext` (`id`, `tenant_id`, `create_user`, `update_user`, `empty_approve`, `create_time`, `update_time`, `node_code`, `node_type`, `def_id`, `del_flag`, `back_type`, `back_type_node`, `direction`, `button_json`, `field_setting`) VALUES ('1930889967098564609', 1, 1, NULL, NULL, '2025-06-06 15:30:17', NULL, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, 1930889966314229761, '0', NULL, NULL, NULL, '[{\"type\":\"aggren\",\"checked\":true,\"text\":\"同意\"},{\"type\":\"reject\",\"checked\":true,\"text\":\"撤销\"}]', '[{\"label\":\"费用\",\"field\":\"amt\",\"permission\":\"1\"},{\"label\":\"说明\",\"field\":\"desc\",\"permission\":\"1\"}]');
COMMIT;

-- ----------------------------
-- Table structure for flow_skip
-- ----------------------------
DROP TABLE IF EXISTS `flow_skip`;
CREATE TABLE `flow_skip` (
  `id` bigint unsigned NOT NULL COMMENT '主键id',
  `definition_id` bigint NOT NULL COMMENT '流程定义id',
  `now_node_code` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '当前流程节点的编码',
  `now_node_type` tinyint(1) DEFAULT NULL COMMENT '当前节点类型（0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关）',
  `next_node_code` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '下一个流程节点的编码',
  `next_node_type` tinyint(1) DEFAULT NULL COMMENT '下一个节点类型（0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关）',
  `skip_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '跳转名称',
  `skip_type` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '跳转类型（PASS审批通过 REJECT退回）',
  `skip_condition` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '跳转条件',
  `coordinate` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '坐标',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '0' COMMENT '删除标志',
  `tenant_id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='结点跳转关联表';

-- ----------------------------
-- Records of flow_skip
-- ----------------------------
BEGIN;
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368908, 1852714563165454338, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368909, 1852714563165454338, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 0, NULL, 'REJECT', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368910, 1852714563165454338, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', 1, '条件', 'PASS', '@@simple_and@@|[{\"key\":\"days\",\"cond\":\"ge\",\"value\":\"3\",\"next\":\"and\"}]', NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368911, 1852714563165454338, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, '条件', 'PASS', '@@default@@|true', NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368912, 1852714563165454338, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', 1, '743a2719-639c-4371-bb2e-4e6b22d194ad', 4, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368913, 1852714563165454338, '743a2719-639c-4371-bb2e-4e6b22d194ad', 4, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368914, 1852714563165454338, '743a2719-639c-4371-bb2e-4e6b22d194ad', 4, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368915, 1852714563165454338, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, '312c3bf3-cd05-4d89-8d8d-9babadbf4970', 4, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368916, 1852714563165454338, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 0, NULL, 'REJECT', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368917, 1852714563165454338, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, '312c3bf3-cd05-4d89-8d8d-9babadbf4970', 4, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368918, 1852714563165454338, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 0, NULL, 'REJECT', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368919, 1852714563165454338, '312c3bf3-cd05-4d89-8d8d-9babadbf4970', 4, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368920, 1852714563165454338, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368921, 1852714563165454338, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 0, NULL, 'REJECT', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1852714563228368922, 1852714563165454338, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 0, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, NULL, 'PASS', NULL, NULL, '2024-11-02 22:09:08', '2024-11-02 22:09:08', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256130, 1930880104805076994, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256131, 1930880104805076994, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, 'b05c19f1-7ff4-479f-8b8f-6d2476238376', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256132, 1930880104805076994, 'b05c19f1-7ff4-479f-8b8f-6d2476238376', 3, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256133, 1930880104805076994, 'b05c19f1-7ff4-479f-8b8f-6d2476238376', 3, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256134, 1930880104805076994, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', 1, '条件', 'PASS', '@@simple_and@@|[{\"key\":\"days\",\"cond\":\"ge\",\"value\":\"3\",\"next\":\"and\"}]', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256135, 1930880104805076994, '3483a491-0765-4b54-8c35-dbacb29e5bbf', 3, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, '条件', 'PASS', '@@default@@|true', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256136, 1930880104805076994, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', 1, '2d0eb12a-f100-4d8a-aa2d-13266ba26f64', 4, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256137, 1930880104805076994, '2d0eb12a-f100-4d8a-aa2d-13266ba26f64', 4, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256138, 1930880104805076994, '2d0eb12a-f100-4d8a-aa2d-13266ba26f64', 4, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256139, 1930880104805076994, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, 'fb5e44b8-c997-4172-9be3-a1c6dbe577a8', 4, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256140, 1930880104805076994, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', 1, 'baabbef3-9b88-40e8-9c7c-9c330e381b41', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256141, 1930880104805076994, 'baabbef3-9b88-40e8-9c7c-9c330e381b41', 3, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256142, 1930880104805076994, 'baabbef3-9b88-40e8-9c7c-9c330e381b41', 3, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256143, 1930880104805076994, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, 'fb5e44b8-c997-4172-9be3-a1c6dbe577a8', 4, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256144, 1930880104805076994, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', 1, 'fa42eb01-a24a-4f32-9ae2-39210fcdc7fd', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256145, 1930880104805076994, 'fa42eb01-a24a-4f32-9ae2-39210fcdc7fd', 3, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256146, 1930880104805076994, 'fa42eb01-a24a-4f32-9ae2-39210fcdc7fd', 3, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256147, 1930880104805076994, 'fb5e44b8-c997-4172-9be3-a1c6dbe577a8', 4, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256148, 1930880104805076994, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256149, 1930880104805076994, '32610c7f-21f1-43c5-821b-f65e3fcb917b', 1, '5fbe1042-3874-4657-bbc1-d5bfebddde55', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256150, 1930880104805076994, '5fbe1042-3874-4657-bbc1-d5bfebddde55', 3, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256151, 1930880104805076994, '5fbe1042-3874-4657-bbc1-d5bfebddde55', 3, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256152, 1930880104805076994, '2ef8c5c1-2bdf-4a85-9f23-9a26e1f92d02', 0, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256153, 1930880104805076994, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, 'f1c63412-5710-446d-a5ac-f441f37a22c2', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880105262256154, 1930880104805076994, '801e3c73-e665-4f6f-8ea7-d4de0927214c', 1, 'fa13aeeb-f794-43c8-a2aa-27da340b9696', 2, NULL, 'REJECT', NULL, NULL, '2025-06-06 14:51:06', '2025-06-06 14:51:06', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935467552769, 1930888935232671746, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, '大金额报销', 'PASS', '@@simple_and@@|[{\"key\":\"amt\",\"cond\":\"ge\",\"value\":\"1000\",\"next\":\"and\"}]', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747073, 1930888935232671746, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, 'e31503cc-7993-457a-929f-eab30f97baff', 1, '小金额报销', 'PASS', '@@default@@|true', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747074, 1930888935232671746, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747075, 1930888935232671746, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, '5df4e857-ab7b-4f28-bf79-84a55b65cdc1', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747076, 1930888935232671746, '5df4e857-ab7b-4f28-bf79-84a55b65cdc1', 3, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747077, 1930888935232671746, '5df4e857-ab7b-4f28-bf79-84a55b65cdc1', 3, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747078, 1930888935232671746, 'e31503cc-7993-457a-929f-eab30f97baff', 1, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747079, 1930888935232671746, 'e31503cc-7993-457a-929f-eab30f97baff', 1, '7caeb87d-c654-487a-ac31-95101ca4ad27', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747080, 1930888935232671746, '7caeb87d-c654-487a-ac31-95101ca4ad27', 3, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747081, 1930888935232671746, '7caeb87d-c654-487a-ac31-95101ca4ad27', 3, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747082, 1930888935232671746, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'PASS', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747083, 1930888935232671746, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, '45af0035-2d56-47ab-aaea-281160ec607d', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747084, 1930888935232671746, '45af0035-2d56-47ab-aaea-281160ec607d', 3, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747085, 1930888935232671746, '45af0035-2d56-47ab-aaea-281160ec607d', 3, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747086, 1930888935232671746, '10bce3c4-63c5-4db0-8a6c-5fbb4ab3a2f1', 0, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747087, 1930888935232671746, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, NULL, 'PASS', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930888935471747088, 1930888935232671746, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:26:11', '2025-06-06 15:26:11', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556354, 1930889966314229761, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, '大金额报销', 'PASS', '@@simple_and@@|[{\"key\":\"amt\",\"cond\":\"ge\",\"value\":\"1000\",\"next\":\"and\"}]', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556355, 1930889966314229761, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, 'e31503cc-7993-457a-929f-eab30f97baff', 1, '小金额报销', 'PASS', '@@default@@|true', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556356, 1930889966314229761, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556357, 1930889966314229761, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', 1, '0cbd852c-e2ba-499c-a590-db410cf7f4c4', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556358, 1930889966314229761, '0cbd852c-e2ba-499c-a590-db410cf7f4c4', 3, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556359, 1930889966314229761, '0cbd852c-e2ba-499c-a590-db410cf7f4c4', 3, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556360, 1930889966314229761, 'e31503cc-7993-457a-929f-eab30f97baff', 1, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556361, 1930889966314229761, 'e31503cc-7993-457a-929f-eab30f97baff', 1, '1bc1138b-2b24-41cb-8328-e392ecb147b4', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556362, 1930889966314229761, '1bc1138b-2b24-41cb-8328-e392ecb147b4', 3, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556363, 1930889966314229761, '1bc1138b-2b24-41cb-8328-e392ecb147b4', 3, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556364, 1930889966314229761, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'PASS', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556365, 1930889966314229761, 'f569c2aa-4de3-4f8c-801f-9b02e30f1918', 1, '253fa80e-75a3-470b-bb47-d337af59f383', 3, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556366, 1930889966314229761, '253fa80e-75a3-470b-bb47-d337af59f383', 3, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@1', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556367, 1930889966314229761, '253fa80e-75a3-470b-bb47-d337af59f383', 3, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'REJECT', '@@reject@@|_of_reject@@eq@@2', NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556368, 1930889966314229761, '994d37e1-194f-4f11-ac87-7cbd605a4760', 0, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, NULL, 'PASS', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556369, 1930889966314229761, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, '1aedd671-2883-474f-89c5-f317006bd8ff', 3, NULL, 'PASS', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
INSERT INTO `flow_skip` (`id`, `definition_id`, `now_node_code`, `now_node_type`, `next_node_code`, `next_node_type`, `skip_name`, `skip_type`, `skip_condition`, `coordinate`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930889966515556370, 1930889966314229761, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', 1, '44abbb18-d32b-4f14-ba6e-c000f0809b8b', 2, NULL, 'REJECT', NULL, NULL, '2025-06-06 15:30:17', '2025-06-06 15:30:17', '0', '1');
COMMIT;

-- ----------------------------
-- Table structure for flow_task
-- ----------------------------
DROP TABLE IF EXISTS `flow_task`;
CREATE TABLE `flow_task` (
  `id` bigint NOT NULL COMMENT '主键id',
  `definition_id` bigint NOT NULL COMMENT '对应flow_definition表的id',
  `instance_id` bigint NOT NULL COMMENT '对应flow_instance表的id',
  `node_code` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '节点编码',
  `node_name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '节点名称',
  `node_type` tinyint(1) NOT NULL COMMENT '节点类型（0开始节点 1中间节点 2结束节点 3互斥网关 4并行网关）',
  `form_custom` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT 'N' COMMENT '审批表单是否自定义（Y是 N否）',
  `form_path` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '审批表单路径',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '0' COMMENT '删除标志',
  `tenant_id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='待办任务表';

-- ----------------------------
-- Records of flow_task
-- ----------------------------
BEGIN;
INSERT INTO `flow_task` (`id`, `definition_id`, `instance_id`, `node_code`, `node_name`, `node_type`, `form_custom`, `form_path`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880375157329922, 1930880104805076994, 1930880375140552706, '801e3c73-e665-4f6f-8ea7-d4de0927214c', '发起申请', 1, 'Y', 'leave.vue', '2025-06-06 14:52:10', '2025-06-06 14:52:10', '2', '1');
INSERT INTO `flow_task` (`id`, `definition_id`, `instance_id`, `node_code`, `node_name`, `node_type`, `form_custom`, `form_path`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880375467708418, 1930880104805076994, 1930880375140552706, 'f1c63412-5710-446d-a5ac-f441f37a22c2', '审批人1', 1, 'Y', 'leave.vue', '2025-06-06 14:52:10', '2025-06-06 14:54:54', '2', '1');
INSERT INTO `flow_task` (`id`, `definition_id`, `instance_id`, `node_code`, `node_name`, `node_type`, `form_custom`, `form_path`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061152526337, 1930880104805076994, 1930880375140552706, 'f36a09c6-08ab-4027-85f9-db1f8a55f57c', '自动通过', 1, 'Y', 'leave.vue', '2025-06-06 14:54:54', '2025-06-06 14:54:54', '2', '1');
INSERT INTO `flow_task` (`id`, `definition_id`, `instance_id`, `node_code`, `node_name`, `node_type`, `form_custom`, `form_path`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061651648513, 1930880104805076994, 1930880375140552706, 'a4095f0e-1950-4d4c-b886-4a3035b645c2', '审批人1', 1, 'Y', 'leave.vue', '2025-06-06 14:54:54', '2025-06-06 14:59:00', '2', '1');
INSERT INTO `flow_task` (`id`, `definition_id`, `instance_id`, `node_code`, `node_name`, `node_type`, `form_custom`, `form_path`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061651648514, 1930880104805076994, 1930880375140552706, '091944fb-4f6f-4eeb-82d9-1ea3da22bd52', '审批人2', 1, 'Y', 'leave.vue', '2025-06-06 14:54:54', '2025-06-06 15:08:15', '2', '1');
INSERT INTO `flow_task` (`id`, `definition_id`, `instance_id`, `node_code`, `node_name`, `node_type`, `form_custom`, `form_path`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930890365477752837, 1930889966314229761, 1930890365477752834, 'ce588ffe-5d9e-4fe0-84a5-eaff11154145', '发起申请', 1, 'N', '', '2025-06-06 15:31:52', '2025-06-06 15:31:52', '2', '1');
INSERT INTO `flow_task` (`id`, `definition_id`, `instance_id`, `node_code`, `node_name`, `node_type`, `form_custom`, `form_path`, `create_time`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930890365821685762, 1930889966314229761, 1930890365477752834, 'bb42cf6b-5a79-4a1d-8f3d-d43c110a14de', '总经理审批', 1, 'N', '', '2025-06-06 15:31:52', '2025-06-06 15:31:52', '0', '1');
COMMIT;

-- ----------------------------
-- Table structure for flow_user
-- ----------------------------
DROP TABLE IF EXISTS `flow_user`;
CREATE TABLE `flow_user` (
  `id` bigint unsigned NOT NULL COMMENT '主键id',
  `type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL COMMENT '人员类型（1代办任务的审批人权限 2代办任务的转办人权限 3待办任务的委托人权限）',
  `processed_by` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '权限人',
  `associated` bigint NOT NULL COMMENT '关联表id',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_by` varchar(80) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '创建人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '0' COMMENT '删除标志',
  `tenant_id` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '租户id',
  PRIMARY KEY (`id`) USING BTREE,
  KEY `user_processed_type` (`processed_by`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='流程用户表';

-- ----------------------------
-- Records of flow_user
-- ----------------------------
BEGIN;
INSERT INTO `flow_user` (`id`, `type`, `processed_by`, `associated`, `create_time`, `create_by`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880375165718530, '1', '1', 1930880375157329922, '2025-06-06 14:52:10', NULL, '2025-06-06 14:52:10', '2', '1');
INSERT INTO `flow_user` (`id`, `type`, `processed_by`, `associated`, `create_time`, `create_by`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930880375505457153, '1', '1814307624207470594', 1930880375467708418, '2025-06-06 14:52:10', NULL, '2025-06-06 14:52:10', '2', '1');
INSERT INTO `flow_user` (`id`, `type`, `processed_by`, `associated`, `create_time`, `create_by`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061706174466, '1', '1', 1930881061651648513, '2025-06-06 14:54:54', NULL, '2025-06-06 14:54:54', '2', '1');
INSERT INTO `flow_user` (`id`, `type`, `processed_by`, `associated`, `create_time`, `create_by`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930881061706174467, '1', '2', 1930881061651648514, '2025-06-06 14:54:54', NULL, '2025-06-06 14:54:54', '2', '1');
INSERT INTO `flow_user` (`id`, `type`, `processed_by`, `associated`, `create_time`, `create_by`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930890365481947138, '1', '1', 1930890365477752837, '2025-06-06 15:31:52', NULL, '2025-06-06 15:31:52', '2', '1');
INSERT INTO `flow_user` (`id`, `type`, `processed_by`, `associated`, `create_time`, `create_by`, `update_time`, `del_flag`, `tenant_id`) VALUES (1930890365851045889, '1', '1814307624207470594', 1930890365821685762, '2025-06-06 15:31:52', NULL, '2025-06-06 15:31:52', '0', '1');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `id` bigint DEFAULT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `pid` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '部门名称',
  `sort_num` int DEFAULT NULL COMMENT '序号',
  `director` bigint DEFAULT NULL COMMENT '主管',
  `level_code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='部门';

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_dept` (`id`, `tenant_id`, `pid`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `sort_num`, `director`, `level_code`) VALUES (1, 1, 0, NULL, 1, '2024-10-19 09:25:08', '2025-06-06 14:38:24', '科技公司', 0, NULL, 'cmp');
INSERT INTO `sys_dept` (`id`, `tenant_id`, `pid`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `sort_num`, `director`, `level_code`) VALUES (1847454723123961858, 1, 1, 1, 1, '2024-10-19 09:48:25', '2025-06-06 14:34:39', '测试部', 1, 1, 'dept');
INSERT INTO `sys_dept` (`id`, `tenant_id`, `pid`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `sort_num`, `director`, `level_code`) VALUES (1847460642243174402, 1, 1, 1, NULL, '2024-10-19 10:11:56', NULL, '技术部', 0, NULL, 'dept');
INSERT INTO `sys_dept` (`id`, `tenant_id`, `pid`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `sort_num`, `director`, `level_code`) VALUES (1847460705468112898, 1, 1, 1, NULL, '2024-10-19 10:12:11', NULL, '‌市场部‌', 0, NULL, 'dept');
INSERT INTO `sys_dept` (`id`, `tenant_id`, `pid`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `sort_num`, `director`, `level_code`) VALUES (1847460795972804610, 1, 1, 1, NULL, '2024-10-19 10:12:33', NULL, '‌财务部', 0, NULL, 'dept');
INSERT INTO `sys_dept` (`id`, `tenant_id`, `pid`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `sort_num`, `director`, `level_code`) VALUES (1847461001728581634, 1, 1, 1, 1, '2024-10-19 10:13:22', '2025-06-06 14:38:56', '人事部', 0, NULL, 'dept');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept_user`;
CREATE TABLE `sys_dept_user` (
  `id` bigint NOT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `dept_id` bigint NOT NULL,
  `user_id` bigint NOT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `unique` (`dept_id`,`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='用户部门信息表';

-- ----------------------------
-- Records of sys_dept_user
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_identifier
-- ----------------------------
DROP TABLE IF EXISTS `sys_identifier`;
CREATE TABLE `sys_identifier` (
  `id` bigint NOT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `menu_id` bigint DEFAULT NULL COMMENT '菜单名称',
  `type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '类型： 1 接口权限，2按钮权限',
  `code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '标识符编码',
  `name` varchar(125) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '标识符名称',
  `sort_num` int DEFAULT NULL COMMENT '排序号',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='权限标识符';

-- ----------------------------
-- Records of sys_identifier
-- ----------------------------
BEGIN;
INSERT INTO `sys_identifier` (`id`, `tenant_id`, `create_time`, `update_time`, `create_user`, `update_user`, `menu_id`, `type`, `code`, `name`, `sort_num`) VALUES (1851123328583704577, 1, '2024-10-29 12:46:08', NULL, 1, NULL, 1846765869433847809, '1', 'test', '测试', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `id` bigint DEFAULT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '菜单名称',
  `type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '菜单类型',
  `parent_id` bigint DEFAULT NULL COMMENT '父id',
  `path` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '路由地址,其实就是组件名称',
  `component` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '组件地址',
  `params` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '路由参数，根据参数不同，默认显示不同的数据',
  `icon` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '图表',
  `sort_num` int DEFAULT NULL COMMENT '排序',
  `status` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '显示隐藏状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845456303395930113, 1, 1, 1, '2024-10-13 21:27:24', '2024-10-14 17:15:36', '系统管理', '1', 0, '/sys', 'sys', NULL, 'Tools', 5, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845456482161360897, 1, 1, 1, '2024-10-13 21:28:07', '2024-10-21 12:48:02', '用户管理', '2', 1845456303395930113, '/sys/user', 'sys/user/index', NULL, NULL, 1, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845665743562813442, 1, 1, NULL, '2024-10-14 11:19:39', NULL, '角色管理', '2', 1845456303395930113, '/sys/role', 'sys/role/index', NULL, NULL, 2, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845665865403150337, 1, 1, 1, '2024-10-14 11:20:08', '2024-10-16 21:41:01', '菜单管理', '2', 1845456303395930113, '/sys/menu', 'sys/menu/index', NULL, NULL, 3, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845755275595427842, 1, 1, NULL, '2024-10-14 17:15:25', NULL, '示例页面', '1', 0, '/demo', NULL, NULL, 'HelpFilled', 1, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845755572162080770, 1, 1, NULL, '2024-10-14 17:16:36', NULL, '表格页面', '2', 1845755275595427842, '/table', 'table/index', NULL, NULL, 1, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845755764395421698, 1, 1, 1, '2024-10-14 17:17:21', '2024-10-29 11:24:13', '树表页面', '2', 1845755275595427842, '/treeTable', 'treeTable/index', NULL, NULL, 2, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845756324355977218, 1, 1, NULL, '2024-10-14 17:19:35', NULL, '流程管理', '1', 0, '/flow', NULL, NULL, 'Share', 2, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845756550873559042, 1, 1, NULL, '2024-10-14 17:20:29', NULL, '流程分类', '2', 1845756324355977218, '/flow/category', 'flow/category/index', NULL, NULL, 1, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845756690459996162, 1, 1, 1, '2024-10-14 17:21:02', '2024-10-16 21:41:36', '流程设计', '2', 1845756324355977218, '/flow/design', 'flow/design/index', NULL, NULL, 2, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845757038041968641, 1, 1, NULL, '2024-10-14 17:22:25', NULL, 'OA办公', '1', 0, '/oa', NULL, NULL, 'Promotion', 3, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845757201661767682, 1, 1, NULL, '2024-10-14 17:23:04', NULL, '发起申请', '2', 1845757038041968641, '/flow/approval', 'flow/approval/index', NULL, NULL, 1, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845757313775513601, 1, 1, 1, '2024-10-14 17:23:31', '2024-10-14 17:24:25', '我的待办', '2', 1845757038041968641, '/flow/todo', 'flow/todo/index', NULL, NULL, 3, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845757511306260481, 1, 1, NULL, '2024-10-14 17:24:18', NULL, '我发起的', '2', 1845757038041968641, '/flow/my', 'flow/my/index', NULL, NULL, 2, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845757662183763969, 1, 1, NULL, '2024-10-14 17:24:54', NULL, '我的已办', '2', 1845757038041968641, '/flow/done', 'flow/done/index', NULL, NULL, 4, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845757880480509954, 1, 1, NULL, '2024-10-14 17:25:46', NULL, '设计器', '1', 0, '/design', NULL, NULL, 'View', 6, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1845758451329478657, 1, 1, NULL, '2024-10-14 17:28:02', NULL, '表单设计', '2', 1845757880480509954, '/design/formcreate', 'design/formcreate/index', NULL, NULL, 0, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1846765869433847809, 1, 1, 1, '2024-10-17 12:11:09', '2024-10-17 14:42:16', '首页', '2', 0, '/home', 'home/index', NULL, 'HomeFilled', 0, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1847133611022307329, 1, 1, 1, '2024-10-18 12:32:26', '2024-10-18 12:32:43', '部门管理', '2', 1845456303395930113, '/sys/dept', 'sys/dept/index', NULL, NULL, 4, '1');
INSERT INTO `sys_menu` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `name`, `type`, `parent_id`, `path`, `component`, `params`, `icon`, `sort_num`, `status`) VALUES (1847471973935570946, 1, 1, NULL, '2024-10-19 10:56:58', NULL, '职位管理', '2', 1845456303395930113, '/sys/position', 'sys/position/index', NULL, NULL, 5, '1');
COMMIT;

-- ----------------------------
-- Table structure for sys_position
-- ----------------------------
DROP TABLE IF EXISTS `sys_position`;
CREATE TABLE `sys_position` (
  `id` bigint NOT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `dept_id` bigint NOT NULL,
  `position_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL,
  `sort_num` int NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='职位信息表';

-- ----------------------------
-- Records of sys_position
-- ----------------------------
BEGIN;
INSERT INTO `sys_position` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `dept_id`, `position_name`, `sort_num`) VALUES (1847476043295461378, 1, 1, NULL, '2024-10-19 11:13:08', NULL, 1, '总经理', 0);
INSERT INTO `sys_position` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `dept_id`, `position_name`, `sort_num`) VALUES (1848747642384527362, 1, 1, 1, '2024-10-22 23:26:01', '2025-06-06 14:39:38', 1847460795972804610, '财务经理', 0);
INSERT INTO `sys_position` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `dept_id`, `position_name`, `sort_num`) VALUES (1850202760359325698, 1, 1, 1, '2024-10-26 23:48:08', '2025-06-06 14:35:55', 1847454723123961858, '测试工程师', 0);
INSERT INTO `sys_position` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `dept_id`, `position_name`, `sort_num`) VALUES (1930875655613222913, 1, 1, NULL, '2025-06-06 14:33:25', NULL, 1847460642243174402, 'Java开发', 0);
INSERT INTO `sys_position` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `dept_id`, `position_name`, `sort_num`) VALUES (1930875760303050754, 1, 1, NULL, '2025-06-06 14:33:50', NULL, 1847460705468112898, '销售经理', 0);
INSERT INTO `sys_position` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `dept_id`, `position_name`, `sort_num`) VALUES (1930875834198298626, 1, 1, 1, '2025-06-06 14:34:07', '2025-06-06 14:39:56', 1847461001728581634, '人事经理', 0);
INSERT INTO `sys_position` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `dept_id`, `position_name`, `sort_num`) VALUES (1930878339347025922, 1, 1, NULL, '2025-06-06 14:44:05', NULL, 1, '系统管理员', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_position_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_position_user`;
CREATE TABLE `sys_position_user` (
  `id` bigint NOT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `user_id` bigint DEFAULT NULL,
  `position_id` bigint DEFAULT NULL,
  `dept_ids` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `cmp_id` bigint DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='用户职位表';

-- ----------------------------
-- Records of sys_position_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_position_user` (`id`, `tenant_id`, `create_user`, `create_time`, `update_user`, `update_time`, `user_id`, `position_id`, `dept_ids`, `cmp_id`) VALUES (1930876605186871297, 1, 1, '2025-06-06 14:37:11', NULL, NULL, 1930876605061042178, 1930875655613222913, '1847460642243174402', 1);
INSERT INTO `sys_position_user` (`id`, `tenant_id`, `create_user`, `create_time`, `update_user`, `update_time`, `user_id`, `position_id`, `dept_ids`, `cmp_id`) VALUES (1930876798246490114, 1, 1, '2025-06-06 14:37:57', NULL, NULL, 2, 1850202760359325698, '1847454723123961858', 1);
INSERT INTO `sys_position_user` (`id`, `tenant_id`, `create_user`, `create_time`, `update_user`, `update_time`, `user_id`, `position_id`, `dept_ids`, `cmp_id`) VALUES (1930878114213564417, 1, 1, '2025-06-06 14:43:11', NULL, NULL, 1930878114087735297, 1930875760303050754, '1847460705468112898', 1);
INSERT INTO `sys_position_user` (`id`, `tenant_id`, `create_user`, `create_time`, `update_user`, `update_time`, `user_id`, `position_id`, `dept_ids`, `cmp_id`) VALUES (1930878495115087874, 1, 1, '2025-06-06 14:44:42', NULL, NULL, 1814307624207470594, 1930875834198298626, '1847461001728581634', 1);
INSERT INTO `sys_position_user` (`id`, `tenant_id`, `create_user`, `create_time`, `update_user`, `update_time`, `user_id`, `position_id`, `dept_ids`, `cmp_id`) VALUES (1930878495127670786, 1, 1, '2025-06-06 14:44:42', NULL, NULL, 1814307624207470594, 1847476043295461378, NULL, 1);
INSERT INTO `sys_position_user` (`id`, `tenant_id`, `create_user`, `create_time`, `update_user`, `update_time`, `user_id`, `position_id`, `dept_ids`, `cmp_id`) VALUES (1930878521593729025, 1, 1, '2025-06-06 14:44:48', NULL, NULL, 1, 1930878339347025922, NULL, 1);
COMMIT;

-- ----------------------------
-- Table structure for sys_resource
-- ----------------------------
DROP TABLE IF EXISTS `sys_resource`;
CREATE TABLE `sys_resource` (
  `id` bigint NOT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `resource_type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '资源类型：1 菜单 2: 权限标识',
  `from_type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '来源类别： 1:用户， 2：角色，3职位',
  `from_id` bigint DEFAULT NULL COMMENT '来源id(用户id、角色id、职位id)',
  `resource_id` bigint DEFAULT NULL COMMENT '1：菜单、2：标识',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='授权信息';

-- ----------------------------
-- Records of sys_resource
-- ----------------------------
BEGIN;
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187650, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1846765869433847809);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187651, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845755275595427842);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187652, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845755572162080770);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187653, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845755764395421698);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187654, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845756324355977218);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187655, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845756550873559042);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187656, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '2', '2', 1812054642967375874, 1855965844009041921);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187657, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '2', '2', 1812054642967375874, 1856270198398218241);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187658, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '2', '2', 1812054642967375874, 1856273410949849090);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187659, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '2', '2', 1812054642967375874, 1856273510182887425);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187660, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845756690459996162);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187661, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845757038041968641);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187662, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845757201661767682);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187663, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845757511306260481);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187664, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845757313775513601);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187665, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845757662183763969);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187666, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845456303395930113);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187667, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845456482161360897);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187668, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845665743562813442);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187669, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845665865403150337);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187670, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1847133611022307329);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187671, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1847471973935570946);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187672, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845757880480509954);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1856664796396187673, 1, NULL, 1, '2024-11-13 19:45:57', NULL, '1', '2', 1812054642967375874, 1845758451329478657);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930880854402699265, 1, NULL, 1, '2025-06-06 14:54:04', NULL, '1', '2', 1813120366464937986, 1845757038041968641);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930880854411087873, 1, NULL, 1, '2025-06-06 14:54:04', NULL, '1', '2', 1813120366464937986, 1845757201661767682);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930880854415282178, 1, NULL, 1, '2025-06-06 14:54:04', NULL, '1', '2', 1813120366464937986, 1845757511306260481);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930880854415282179, 1, NULL, 1, '2025-06-06 14:54:04', NULL, '1', '2', 1813120366464937986, 1845757313775513601);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930880854415282180, 1, NULL, 1, '2025-06-06 14:54:04', NULL, '1', '2', 1813120366464937986, 1845757662183763969);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785663352833, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845756324355977218);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785675935745, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845756550873559042);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785675935746, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845756690459996162);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785675935747, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845757038041968641);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785675935748, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845757201661767682);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785675935749, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845757511306260481);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785675935750, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845757313775513601);
INSERT INTO `sys_resource` (`id`, `create_user`, `update_user`, `tenant_id`, `create_time`, `update_time`, `resource_type`, `from_type`, `from_id`, `resource_id`) VALUES (1930883785675935751, 1, NULL, 1, '2025-06-06 15:05:43', NULL, '1', '2', 1930877394034790401, 1845757662183763969);
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `id` bigint DEFAULT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `role_code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `role_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `role_desc` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `role_status` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `sort_num` int DEFAULT NULL,
  `deleted` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL COMMENT '系统默认，不允许删除的'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_code`, `role_name`, `role_desc`, `role_status`, `sort_num`, `deleted`) VALUES (1812054642967375874, 1, 1, 1, '2024-07-13 17:21:08', '2024-07-13 18:04:39', 'admin', '超级管理员', '超管，不能删除', '1', 0, '1');
INSERT INTO `sys_role` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_code`, `role_name`, `role_desc`, `role_status`, `sort_num`, `deleted`) VALUES (1813120366464937986, 1, 1, NULL, '2024-07-16 15:55:56', NULL, 'common', '普通人员', '', '1', 0, '0');
INSERT INTO `sys_role` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_code`, `role_name`, `role_desc`, `role_status`, `sort_num`, `deleted`) VALUES (1813509485149945858, 1, 1, 1, '2024-07-17 17:42:09', '2025-06-06 14:31:33', 'empty', '空角色', '', '1', 0, '0');
INSERT INTO `sys_role` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_code`, `role_name`, `role_desc`, `role_status`, `sort_num`, `deleted`) VALUES (1930877394034790401, 1, 1, NULL, '2025-06-06 14:40:19', NULL, 'test', '测试人员', '', '1', 0, '0');
INSERT INTO `sys_role` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_code`, `role_name`, `role_desc`, `role_status`, `sort_num`, `deleted`) VALUES (1930877505058017281, 1, 1, NULL, '2025-06-06 14:40:46', NULL, 'dev', '研发人员', '', '1', 0, '0');
COMMIT;

-- ----------------------------
-- Table structure for sys_role_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_user`;
CREATE TABLE `sys_role_user` (
  `id` bigint NOT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `role_id` bigint NOT NULL,
  `user_id` bigint NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique` (`role_id`,`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='用户角色信息表';

-- ----------------------------
-- Records of sys_role_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_id`, `user_id`) VALUES (1812695992825999361, 1, 1, NULL, '2024-07-15 11:49:38', NULL, 1812054642967375874, 1);
INSERT INTO `sys_role_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_id`, `user_id`) VALUES (1847940655908331521, 1, 1, NULL, '2024-10-20 17:59:20', NULL, 1813120366464937986, 1814307624207470594);
INSERT INTO `sys_role_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `role_id`, `user_id`) VALUES (1930883814515970050, 1, 1, NULL, '2025-06-06 15:05:50', NULL, 1930877394034790401, 2);
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `id` bigint DEFAULT NULL,
  `tenant_id` bigint DEFAULT NULL,
  `create_user` bigint DEFAULT NULL,
  `update_user` bigint DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  `username` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `password` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `status` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `nick` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `phone` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL,
  `email` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin COMMENT='用户表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `username`, `password`, `status`, `nick`, `phone`, `email`) VALUES (1, 1, 1, 1, '2024-07-11 21:13:40', '2025-06-06 14:44:48', 'admin', 'admin', '1', '超管', '', '');
INSERT INTO `sys_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `username`, `password`, `status`, `nick`, `phone`, `email`) VALUES (2, 1, NULL, 1, '2024-07-11 21:14:09', '2025-06-06 14:37:57', 'test', 'test', '1', '测试', NULL, NULL);
INSERT INTO `sys_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `username`, `password`, `status`, `nick`, `phone`, `email`) VALUES (1814307624207470594, 1, 1, 1, '2024-07-19 22:33:40', '2025-06-06 14:44:42', 'seven', 'seven', '1', 'seven', '', '');
INSERT INTO `sys_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `username`, `password`, `status`, `nick`, `phone`, `email`) VALUES (1930876605061042178, 1, 1, NULL, '2025-06-06 14:37:11', NULL, 'java', '123456', '1', 'Java工程师', '', '');
INSERT INTO `sys_user` (`id`, `tenant_id`, `create_user`, `update_user`, `create_time`, `update_time`, `username`, `password`, `status`, `nick`, `phone`, `email`) VALUES (1930878114087735297, 1, 1, NULL, '2025-06-06 14:43:11', NULL, 'zhangsan', '123456', '1', '销售-张三', '', '');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
